module.exports = async (ctx,next)=>{
    const start = Date.now()
    await next()
    const end = Date.now()
    const req = end-start
    ctx.set('X-Response-Time',req+'ms')
}